package server;

import java.io.IOException;
import java.io.OutputStream;
/**
 * 
 * @author Jesse Gorter
 *
 */
public class MyOutputStream extends OutputStream
{	
	Gui gui;
	public MyOutputStream(Gui gui)
	{
		this.gui = gui;
	}
	public void write(int b) throws IOException
	{
		gui.setText("" + (char)b);
	}
	

}